package com.ruoyi.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Fundmanagement对象 fundmanagement
 * 
 * @author wjy
 * @date 2025-01-11
 */
public class Fundmanagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资金id */
    private Long fundId;

    /** 资金用途 */
    @Excel(name = "资金用途")
    private String fundPurpose;

    /** 资金金额 */
    @Excel(name = "资金金额")
    private BigDecimal fundAmount;

    /** 资金到账日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "资金到账日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fundArrivalDate;

    /** 资金负责人 */
    @Excel(name = "资金负责人")
    private Long govEid;

    /** 落实情况 */
    @Excel(name = "落实情况")
    private String implementationStatus;

    /** 资金接收单位 */
    @Excel(name = "资金接收单位")
    private Long institutionId;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField1;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField2;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField3;

    /** 备用 */
    @Excel(name = "备用")
    private String spareField4;

    public void setFundId(Long fundId) 
    {
        this.fundId = fundId;
    }

    public Long getFundId() 
    {
        return fundId;
    }
    public void setFundPurpose(String fundPurpose) 
    {
        this.fundPurpose = fundPurpose;
    }

    public String getFundPurpose() 
    {
        return fundPurpose;
    }
    public void setFundAmount(BigDecimal fundAmount) 
    {
        this.fundAmount = fundAmount;
    }

    public BigDecimal getFundAmount() 
    {
        return fundAmount;
    }
    public void setFundArrivalDate(Date fundArrivalDate) 
    {
        this.fundArrivalDate = fundArrivalDate;
    }

    public Date getFundArrivalDate() 
    {
        return fundArrivalDate;
    }
    public void setGovEid(Long govEid) 
    {
        this.govEid = govEid;
    }

    public Long getGovEid() 
    {
        return govEid;
    }
    public void setImplementationStatus(String implementationStatus) 
    {
        this.implementationStatus = implementationStatus;
    }

    public String getImplementationStatus() 
    {
        return implementationStatus;
    }
    public void setInstitutionId(Long institutionId) 
    {
        this.institutionId = institutionId;
    }

    public Long getInstitutionId() 
    {
        return institutionId;
    }
    public void setSpareField1(String spareField1) 
    {
        this.spareField1 = spareField1;
    }

    public String getSpareField1() 
    {
        return spareField1;
    }
    public void setSpareField2(String spareField2) 
    {
        this.spareField2 = spareField2;
    }

    public String getSpareField2() 
    {
        return spareField2;
    }
    public void setSpareField3(String spareField3) 
    {
        this.spareField3 = spareField3;
    }

    public String getSpareField3() 
    {
        return spareField3;
    }
    public void setSpareField4(String spareField4) 
    {
        this.spareField4 = spareField4;
    }

    public String getSpareField4() 
    {
        return spareField4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fundId", getFundId())
            .append("fundPurpose", getFundPurpose())
            .append("fundAmount", getFundAmount())
            .append("fundArrivalDate", getFundArrivalDate())
            .append("govEid", getGovEid())
            .append("implementationStatus", getImplementationStatus())
            .append("institutionId", getInstitutionId())
            .append("spareField1", getSpareField1())
            .append("spareField2", getSpareField2())
            .append("spareField3", getSpareField3())
            .append("spareField4", getSpareField4())
            .toString();
    }
}
